home *** CD-ROM | disk | FTP | other *** search
- diff -cr ./virgin-1.06/Imakefile ./xxgdb-1.06/Imakefile
- *** ./virgin-1.06/Imakefile Sun Mar 15 16:53:47 1992
- --- ./xxgdb-1.06/Imakefile Fri Apr 9 10:07:10 1993
- ***************
- *** 1,37 ****
-
- #define TARGET_IS_GDB 1
-
- ! #if TARGET_IS_GDB
- ! DEFGDB = -DGDB -g
- ! #else
- ! DEFGDB =
- ! #endif
- !
- ! CC = gcc -v
-
- ! #if defined(SunArchitecture)
- ! #if OSMajorVersion >= 4
- ! #if OSMajorVersion == 4 && OSMinorVersion == 0
- ! DEFINES = -DSUNOS4 -DNEED_STRSTR $(DEFGDB)
- ! #else
- ! DEFINES = -DSUNOS4 $(DEFGDB)
- ! #endif
- ! #else
- ! DEFINES = -DOLDSUNOS -DNEED_STRSTR $(DEFGDB)
- ! #endif
- ! #endif
-
- ! #ifdef UltrixArchitecture
- ! #ifdef MipsArchitecture
- ! DEFINES = -DBSD -DMIPS $(DEFGDB)
- ! #else
- ! DEFINES = -DBSD $(DEFGDB)
- ! #endif
- ! #endif
-
- ! #ifdef PegasusArchitecture
- ! DEFINES = -DBSD $(DEFGDB) -DNEED_STRSTR
- ! #endif
-
- mallocc = #malloc.c
- malloco = #malloc.o
- --- 1,13 ----
-
- #define TARGET_IS_GDB 1
-
- ! LOCAL_LDFLAGS = -s
-
- ! DEFGDB = -DGDB -g
-
- ! CC = gcc
-
- ! DEFINES = -DSYSV $(DEFGDB)
-
- mallocc = #malloc.c
- malloco = #malloc.o
- diff -cr ./virgin-1.06/calldbx.c ./xxgdb-1.06/calldbx.c
- *** ./virgin-1.06/calldbx.c Sun Mar 15 16:53:52 1992
- --- ./xxgdb-1.06/calldbx.c Fri Apr 9 09:47:59 1993
- ***************
- *** 289,295 ****
-
- close(0);
- close(1);
- ! fcntl(master, F_SETFL, FNDELAY);
-
- if((dbxfp = fdopen(master, "r+")) == NULL) /* (MJH) */
- {
- --- 289,295 ----
-
- close(0);
- close(1);
- ! fcntl(master, F_SETFL, O_NDELAY);
-
- if((dbxfp = fdopen(master, "r+")) == NULL) /* (MJH) */
- {
- ***************
- *** 359,365 ****
- if (slave > 2)
- close(slave);
-
- ! fcntl(1, F_SETFL, FAPPEND);
- setbuf(stdout, NULL);
-
- /*
- --- 359,365 ----
- if (slave > 2)
- close(slave);
-
- ! fcntl(1, F_SETFL, O_APPEND);
- setbuf(stdout, NULL);
-
- /*
- diff -cr ./virgin-1.06/signals.c ./xxgdb-1.06/signals.c
- *** ./virgin-1.06/signals.c Sun Mar 15 16:54:03 1992
- --- ./xxgdb-1.06/signals.c Fri Apr 9 09:55:57 1993
- ***************
- *** 62,68 ****
- case SIGINT : fprintf(stderr, "Interrupt\n"); break;
- case SIGQUIT : fprintf(stderr, "Quit\n"); break;
- case SIGILL : fprintf(stderr, "Illegal instruction\n"); break;
- ! case SIGBUS : fprintf(stderr, "Bus error\n"); break;
- case SIGSEGV : fprintf(stderr, "Segmentation violation\n"); break;
- case SIGTERM : fprintf(stderr, "Soft kill\n"); break;
- }
- --- 62,68 ----
- case SIGINT : fprintf(stderr, "Interrupt\n"); break;
- case SIGQUIT : fprintf(stderr, "Quit\n"); break;
- case SIGILL : fprintf(stderr, "Illegal instruction\n"); break;
- ! /* case SIGBUS : fprintf(stderr, "Bus error\n"); break; */
- case SIGSEGV : fprintf(stderr, "Segmentation violation\n"); break;
- case SIGTERM : fprintf(stderr, "Soft kill\n"); break;
- }
- ***************
- *** 122,128 ****
- signal(SIGINT, kill_handler);
- signal(SIGQUIT, kill_handler);
- signal(SIGILL, kill_handler);
- ! signal(SIGBUS, kill_handler);
- signal(SIGSEGV, kill_handler);
- signal(SIGTERM, kill_handler);
-
- --- 122,128 ----
- signal(SIGINT, kill_handler);
- signal(SIGQUIT, kill_handler);
- signal(SIGILL, kill_handler);
- ! /* signal(SIGBUS, kill_handler); */
- signal(SIGSEGV, kill_handler);
- signal(SIGTERM, kill_handler);
-
-